package com.order.mapper;

import com.order.dao.Dish;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface DishMapper {
     int dishCount(Dish dish);

//    int PageIndex 当前页面,int PageSize 页面大小

    
     List<Dish> getDish(Map<String,Object> map);


     int addDish(Dish dish);


     int dishUpdate(Dish dish);

     int dishDelete(int id);

     List<Dish> dishSelect(Dish dish);
     Dish dishById(int id);


}
